﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000823 RID: 2083
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetShareDataScRsp : IMessage<GetShareDataScRsp>, IMessage, IEquatable<GetShareDataScRsp>, IDeepCloneable<GetShareDataScRsp>, IBufferMessage
	{
		// Token: 0x17001A69 RID: 6761
		// (get) Token: 0x06005D64 RID: 23908 RVA: 0x000F9F99 File Offset: 0x000F8199
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetShareDataScRsp> Parser
		{
			get
			{
				return GetShareDataScRsp._parser;
			}
		}

		// Token: 0x17001A6A RID: 6762
		// (get) Token: 0x06005D65 RID: 23909 RVA: 0x000F9FA0 File Offset: 0x000F81A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetShareDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001A6B RID: 6763
		// (get) Token: 0x06005D66 RID: 23910 RVA: 0x000F9FB2 File Offset: 0x000F81B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetShareDataScRsp.Descriptor;
			}
		}

		// Token: 0x06005D67 RID: 23911 RVA: 0x000F9FB9 File Offset: 0x000F81B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetShareDataScRsp()
		{
		}

		// Token: 0x06005D68 RID: 23912 RVA: 0x000F9FCC File Offset: 0x000F81CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetShareDataScRsp(GetShareDataScRsp other) : this()
		{
			this.aPGIHHKAPLG_ = other.aPGIHHKAPLG_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005D69 RID: 23913 RVA: 0x000FA002 File Offset: 0x000F8202
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetShareDataScRsp Clone()
		{
			return new GetShareDataScRsp(this);
		}

		// Token: 0x17001A6C RID: 6764
		// (get) Token: 0x06005D6A RID: 23914 RVA: 0x000FA00A File Offset: 0x000F820A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ShareData> APGIHHKAPLG
		{
			get
			{
				return this.aPGIHHKAPLG_;
			}
		}

		// Token: 0x17001A6D RID: 6765
		// (get) Token: 0x06005D6B RID: 23915 RVA: 0x000FA012 File Offset: 0x000F8212
		// (set) Token: 0x06005D6C RID: 23916 RVA: 0x000FA01A File Offset: 0x000F821A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06005D6D RID: 23917 RVA: 0x000FA023 File Offset: 0x000F8223
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetShareDataScRsp);
		}

		// Token: 0x06005D6E RID: 23918 RVA: 0x000FA034 File Offset: 0x000F8234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetShareDataScRsp other)
		{
			return other != null && (other == this || (this.aPGIHHKAPLG_.Equals(other.aPGIHHKAPLG_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005D6F RID: 23919 RVA: 0x000FA084 File Offset: 0x000F8284
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.aPGIHHKAPLG_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005D70 RID: 23920 RVA: 0x000FA0D1 File Offset: 0x000F82D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005D71 RID: 23921 RVA: 0x000FA0D9 File Offset: 0x000F82D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005D72 RID: 23922 RVA: 0x000FA0E4 File Offset: 0x000F82E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.aPGIHHKAPLG_.WriteTo(ref output, GetShareDataScRsp._repeated_aPGIHHKAPLG_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005D73 RID: 23923 RVA: 0x000FA134 File Offset: 0x000F8334
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.aPGIHHKAPLG_.CalculateSize(GetShareDataScRsp._repeated_aPGIHHKAPLG_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005D74 RID: 23924 RVA: 0x000FA188 File Offset: 0x000F8388
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetShareDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.aPGIHHKAPLG_.Add(other.aPGIHHKAPLG_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005D75 RID: 23925 RVA: 0x000FA1D5 File Offset: 0x000F83D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005D76 RID: 23926 RVA: 0x000FA1E0 File Offset: 0x000F83E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.aPGIHHKAPLG_.AddEntriesFrom(ref input, GetShareDataScRsp._repeated_aPGIHHKAPLG_codec);
				}
			}
		}

		// Token: 0x0400240E RID: 9230
		private static readonly MessageParser<GetShareDataScRsp> _parser = new MessageParser<GetShareDataScRsp>(() => new GetShareDataScRsp());

		// Token: 0x0400240F RID: 9231
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002410 RID: 9232
		public const int APGIHHKAPLGFieldNumber = 6;

		// Token: 0x04002411 RID: 9233
		private static readonly FieldCodec<ShareData> _repeated_aPGIHHKAPLG_codec = FieldCodec.ForMessage<ShareData>(50U, ShareData.Parser);

		// Token: 0x04002412 RID: 9234
		private readonly RepeatedField<ShareData> aPGIHHKAPLG_ = new RepeatedField<ShareData>();

		// Token: 0x04002413 RID: 9235
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04002414 RID: 9236
		private uint retcode_;
	}
}
